package com.zz.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zz.entity.ShopRecord;
import com.zz.util.Date2LongSerializer;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by Bsea
 * 2017-06-11 18:30
 */
@Data
//@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
//@JsonInclude(JsonInclude.Include.NON_NULL)
public class OrderDTO {

    private Long shopOrderId;

    private String shopOrderUser;

    private String shopOrderCreateman;

    private Date shopOrderCreatetime;

    private String shopOrderCode;

    private String shopOrderRemarks;

    private Byte shopOrderStatus;

    private String shopOrderCompanyid;

    private String shopOrderName;

    private String shopOrderCarnumber;

    private String shopOrderPhone;

    private String shopOrderCartype;

    private String shopOrderCarbrand;

    private BigDecimal shopOrderTotalprice;

    private String shopOrderUserCard;

    private Byte shopOrderPaytype;

    private String shopOrderUpdateman;
    @JsonSerialize(using = Date2LongSerializer.class)
    private Date shopOrderUpdatetime;

    List<ShopRecord> orderDetailList;

}

